var exec = require('cordova/exec');

exports.exitApp = function() {
  return new Promise(function (resolve, reject) {
    exec(resolve, reject, 'ExitApp', 'exitApp', []);
  });
};